package com.windgo.controller.admin;

import com.windgo.bean.MarketAdminAdminListVo;
import com.windgo.bean.MarketLog;
import com.windgo.bean.common.BasePageInfo;
import com.windgo.bean.common.BaseRespVo;
import com.windgo.bean.common.CommonData;
import com.windgo.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 张林浩
 * @since 2022/10/13 02:26
 */
@RestController
@RequestMapping("admin/log")
public class AdminLogListController {
    @Autowired
    AdminService adminService;


    @RequestMapping("list")
    public BaseRespVo adminList(BasePageInfo info) {
        CommonData<MarketLog> data = adminService.selectLogList(info);
        return BaseRespVo.ok(data);
    }
}